<?php
/**
 * Created by PhpStorm.
 * User: iceberg
 * Date: 2018-06-02
 * Time: 15:16
 */

namespace app\admin\validate;


use think\Validate;

class Ncjy extends Validate
{
    protected $rule = [
        'host_name|举办者姓名'   =>  'require',
        'host_tel|举办者电话'    =>  'require',
        'admin_id|填写人'       =>  'require',
        '__token__'            =>  'token',
    ];

    protected $message = [
        'host_name.require'     =>  '举办者必须',
        'host_tel.require'      =>  '举办者电话必须',
        'admin_id.require'      =>  '填写人必须',
        '__token__'             =>  '不能重复提交',
    ];
}